package org.sy.lab.多线程基础._2_同步._2_ReentrantLock._2_读写锁;


public class Main {

	public static void main(String[] args) {
		
		Counter counter = new Counter();
		Read read = new Read(counter);
		Write write = new Write(counter);
		
		Thread thread1 = new Thread(read);
		thread1.start();
		
		Thread thread2 = new Thread(write);
		thread2.start();
	}
}
